<template>
  <el-dialog title="检索" :visible.sync="dialogShow">
    <el-form :model="form">
      <el-form-item label="授权名" :label-width="formLabelWidth">
        <el-input v-model="form.anent_name" autocomplete="off" clearable />
      </el-form-item>
      <el-form-item label="手机号" :label-width="formLabelWidth">
        <el-input v-model="form.brand_phone" autocomplete="off" clearable />
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="dialogFormVisible = false">取 消</el-button>
      <el-button type="primary" @click="submit">确 定</el-button>
    </div>
  </el-dialog>
</template>

<script>
export default {
  data() {
    return {
      dialogShow: false,
      form: {
        anent_name: '',
        brand_phone: ''
      },
      formLabelWidth: '120px'
    }
  },
  methods: {
    submit() {
      this.$emit('search', this.form)
      this.dialogShow = false
    }
  }
}
</script>

<style lang="sass" scoped>

</style>
